package com.eyas.business.service.admininfo;

import com.eyas.business.model.jdbcEntity.table.AdminInfo;
import com.eyas.business.model.jdbcEntity.table.CoachInfo;
import com.eyas.business.model.pojo.admininf.QueryPageParmDTO;
import com.eyas.business.model.pojo.admininf.QueryPageResultDTO;
import com.eyas.core.model.page.PageResult;

import java.util.List;

import javax.servlet.http.HttpSession;

/**
 * @Auther: 王龙龙
 * @Date: 2019/3/2 15:49
 * @Description:
 */
public interface AdminInfoService {
    public PageResult<QueryPageResultDTO> queryAdminInfo(QueryPageParmDTO queryPageParmDTO, int page, int limit);

    /**
     * 改变admininfo的有效状态
     * @param adminid
     */
    public void updateValidFlag(int adminid);

    public QueryPageResultDTO getAdminInfo(int adminnid);

    public void saveAdminInfo(QueryPageParmDTO adminInfo, HttpSession session);
    /**
     * 获取admininfo select列表
     * @return
     */
    public List<AdminInfo> queryAdminInfoList();

    /**
     * 修改密码，只给超级管理员用
     * @param pageParmDTO
     */
    public void modifyPassword(QueryPageParmDTO pageParmDTO);
}
